package com.briup.bms.service;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.briup.bms.bean.Employee;
import com.github.pagehelper.PageInfo;

public interface IEmpService {
	
	public PageInfo<Employee> findByConditon(int pageNum,
			int pageSize,String username,Integer deptId,
			Date startDate,Date endDate,String title);

    PageInfo<Employee> findByPageHelper(int pageNum, int pageSize);

	void saveOrUpdateEmployee(Employee employee);

	void updateEmployee(Employee employee);

	Map<String, List<?>> statisticEmpByRegion(); //后台处理数据
	List<Map<String, Object>> statisticEmpByRegion2();

	void deleteEmp(String empId);

	void batchDeleteEmp(Set<Integer> empIds);
}
